package com.stu.dcxy.design.creatation.simplefactory;

/**
 * @Classname VanCar
 * @Version 1.0.0
 * @Date 2022/3/30 18:17
 * @Created by yd
 */
public class VanCar extends AbstractCar {
    public VanCar() {
        this.engine = "采油机";
    }

    @Override
    public void run() {
        System.out.println(engine + " Running ");
    }
}
